<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="template-head.jsp" />
<jsp:include page="template-body.jsp" />
<div class="container">
<jsp:include page="errors.jsp"/>
<div id="sociocognitivequestionpage">
	<h1>SocioCognitive Network Type Question</h1>
	<div id="sociocognitivequestionbody">
		<div class="hero-unit">
		<form id="sociocognitivequestionform" method="post" action="sociocognitiveq.do">
			<div id="sociocognitivequestiontext">
				<textarea name="question" rows="10" cols="100">Type your question here.</textarea>
			</div>
			<div id="sociocognitivequestiondynetmlattr">
			<p>Enter the dynetml network identifier for this question</p>
			<input type="text" name="dynetmlAttr" value="${binaryqform.dynetmlAttr}">
			</div>
			<div id="sociocognitivequestionchoice">
				<p>Select the name of entity class for source.</p>
				<select name="classNameSource" class="type">
					<c:forEach var="ecs" items="${entityclass}">
					<option>${ecs.name}</option>
					</c:forEach>
				</select>
				<p>Select the name of entity class for target.</p>
				<select name="classNameTarget" class="type">
					<c:forEach var="ect" items="${entityclass}">
					<option>${ect.name}</option>
					</c:forEach>
				</select>
				<p>Select how to aggregate the data.</p>
				<select name="aggregate" class="type">
					<option>Union</option>
					<option>Average</option>
					<option>Confirmed</option>
					<option>Locally Aggregated</option>
				</select>
				
				<p>If you have not imported an entity class yet, please press the button below to import one for this survey.</p>
				<input type="submit" name="button" class="btn btn-success" value="Import Entity Data"><br/><br/>
			</div>
			<div id="sociocognitivequestionbutton">
				<table>
					<tr>
						<td><input type="submit" name="button" class="btn btn-success"  value="Submit"></td>
					</tr>
					<tr>
						<td><input type="submit" name="button" class="btn btn-inverse"  value="Back"></td>
					</tr>
				</table>
			</div>
		</form>
	</div>
</div>
</div>
</div>
<!--Create another space for contents' extension  -->
	<div class="container2">
	
	
 	</div>
<jsp:include page="template-foot.jsp" /> 